<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>错误</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container mt-5">
        <div class="alert alert-danger">
            <h4>发生错误</h4>
            <p>${error}</p>
            <p>${message}</p>
        </div>
        <a href="/" class="btn btn-primary">返回首页</a>
    </div>
</body>
</html> 